Y

YouLibs

Remove Touch Overlay

Player Death Logic | Build a 2D Platformer Game in Unity #8

Duration: 19:36Views: 27KLikes: 1.2KDate Created: Jun, 2021

Channel: Coding in Flow

Category: Education

Tags: unity invoke delayunity animation eventunity stop movement on collisionunity player death on collisionunity player death animationunity player death scriptunity player deathunity animation triggerunity set trigger animatorunity respawn player after deathunity settriggerunity reload levelunity scenemanagerany stateunity delay functionplayer death and respawn unity 2dunity delay without coroutineunity player death restartunity restart level

Description: In this part, we will let the player die when it collides with a trap and restart the level using the SceneManager. Github repository: github.com/codinginflow/2DPlatformerBeginner ____________________ ๐ŸŽ“ Learn how to build a 2D game in Unity (beginner): youtube.com/playlist?list=PLrnPJCHvNZuCVTz6lvhR81nnaf1a-b67U ๐ŸŽ“ Learn how to build a 3D game in Unity (beginner): youtube.com/playlist?list=PLrnPJCHvNZuB5ATsJZLKX3AW4V9XaIV9b โ™Ÿ๏ธ Find cool game assets in the Unity Asset Store:* assetstore.unity.com/top-assets/top-download?pubref=1011ljfPq ๐ŸŽฎ Unity Pro:* prf.hn/click/camref:1011ljfPq/destination:https://store.unity.com/products/unity-pro ๐ŸŽฎ Unity Plus:* prf.hn/click/camref:1011ljfPq/destination:https://store.unity.com/products/unity-plus ๐ŸŽ“ Unity Learn Premium:* prf.hn/click/camref:1011ljfPq/destination:https://unity.com/learn-premium ๐ŸŽ“ Unity Partner Courses:* prf.hn/click/camref:1011ljfPq/destination:https://unity.com/learn/partner-courses โ— Subscribe to the channel: youtube.com/c/codinginflow?sub_confirmation=1 ๐Ÿ“จ Subscribe to the Coding in Flow newsletter: codinginflow.com/newsletter ๐Ÿ’š Donate to Coding in Flow with a message: paypal.me/codinginflow โ“ Ask your programming questions in our chat: discord.gg/TSnMvmc ๐Ÿ“ฃ Follow Coding in Flow on other sites: Facebook: facebook.com/codinginflow Instagram: instagram.com/codinginflow Twitter: twitter.com/codinginflow Github: github.com/codinginflow ๐Ÿ’ฒ Business requests, sponsoring, etc.: info@codinginflow.com * Affiliate Link: When you buy something through my affiliate link, I earn a small commission at NO additional cost to you. You don't pay more than usual, but you help support this channel.

Swipe Gestures On Overlay